NXP Semiconductors /LPC15xx /GPIO_PORT /PIN[2]

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as PIN[2]

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (PORT0)PORT0 0 (PORT1)PORT1 0 (PORT2)PORT2 0 (PORT3)PORT3 0 (PORT4)PORT4 0 (PORT5)PORT5 0 (PORT6)PORT6 0 (PORT7)PORT7 0 (PORT8)PORT8 0 (PORT9)PORT9 0 (PORT10)PORT10 0 (PORT11)PORT11 0 (PORT12)PORT12 0 (PORT13)PORT13 0 (PORT14)PORT14 0 (PORT15)PORT15 0 (PORT16)PORT16 0 (PORT17)PORT17 0 (PORT18)PORT18 0 (PORT19)PORT19 0 (PORT20)PORT20 0 (PORT21)PORT21 0 (PORT22)PORT22 0 (PORT23)PORT23 0 (PORT24)PORT24 0 (PORT25)PORT25 0 (PORT26)PORT26 0 (PORT27)PORT27 0 (PORT28)PORT28 0 (PORT29)PORT29 0 (PORT30)PORT30 0 (PORT31)PORT31

Description

Port pin register

Fields

PORT0

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT1

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT2

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT3

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT4

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT5

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT6

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT7

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT8

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT9

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT10

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT11

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT12

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT13

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT14

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT15

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT16

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT17

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT18

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT19

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT20

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT21

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT22

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT23

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT24

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT25

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT26

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT27

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT28

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT29

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT30

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

PORT31

Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit.

Links

()